creating new category column in python pandas based on existing column

welcome to shbcf.ru